<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$title} 管理中心 - {$adminbbstitle} </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<link href="styles/page.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/action.js"></script>
</head>
<body>
<h1>
<span class="action-span1">{$title} 管理中心  - {$adminbbstitle} </span>
<div style="clear:both"></div>
</h1>
<div class="list-div" id="listDiv">
<table width="100%" cellspacing="1" cellpadding="2" id="list-table">
  <tr>
    <th>UID</th>
    <th>回帖人</th>
    <th>回帖内容</th>
    <th>回帖时间</th>
    <th>状态</th>
    <th></th>
  </tr>
  {if $bbsinfo}
  {section name=val loop=$bbsinfo}
  <tr>
	<td>{$bbsinfo[val].id}</td>
	<td><a href="userdetial.php?id={$bbsinfo[val].userid}">{$bbsinfo[val].username}</a></td>
	<td>{$bbsinfo[val].created|date_format:'%Y-%m-%d %H:%M:%S'}</td>
	<td><a href="bbsreplay.php?id={$bbsinfo[val].id}&act=upcont&val={$bbsinfo[val].state}">{if $bbsinfo[val].state == 0}显示{else}屏蔽{/if}</a></td>
   </tr>
  {/section}
  {else}
  <tr>
	<td>没有回帖</td>
  </tr>
  {/if}
  
  </table>
 {include file="./pageclass.tpl"}
</div>
{include file="foot.tpl"}
</body>
</html>
